﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" MasterPageFile="~/template/Justin/Master/Site.Master" Inherits="LinkCard.CustomerView.Search" %>


<%@ Import Namespace="LinkCard.Utils" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctph" runat="server">
    <ul class="sub-menu">
        <li><a href="#">Trang chủ &gt;</a></li>
        <li><span>Tìm kiếm<span></li>
    </ul>
    <div>
    <ul class="news-list">
        <asp:Repeater ID="rptSearchDeals" runat="server">
            <ItemTemplate>
                <li>
                    <div class="news-img">
                        <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name")) %>'>
                            <img src='<%# GetFirstDealImageFromAlbum(Eval("Image"))%>' alt='' heght='164' width='235'/>
                        </a>
                    </div>
                    <div class="news-detail">
                        <h2>
                            <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name")) %>'>
                                <%# Eval("Name")%>
                            </a>
                        </h2>
                        <br />
                           <p class="news-desc">
                            <%#GetSubString(Eval("Description"), 700)%> </br>
                            <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name")) %>' class="view-more">(xem thêm)</a></p>
                    </div>
                </li>
                <li style="background:none;padding-bottom:10px;"></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    </div>
    <asp:Label ID="lblMessages" runat 
    <div style="clear:both;height:20px;"></div>
            

    <asp:Literal ID="ltrPager" runat="server"></asp:Literal>
   
</asp:Content>
